package com.yuanfeng.activity.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yuanfeng.activity.entity.ActivityVoucherInformEntity;
import com.yuanfeng.activity.mapper.ActivityVoucherInformMapper;
import com.yuanfeng.activity.service.ActivityVoucherInformService;
import com.yuanfeng.activity.vo.InformShopUpdateParamVO;
import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName ActivityVoucherInformServiceImpl
 * @Description 优惠券报名通知
 * @Author cf
 * @Date 2023/6/25 16:41
 * @Version 1.0
 */
@Service
public class ActivityVoucherInformServiceImpl extends ServiceImpl<ActivityVoucherInformMapper, ActivityVoucherInformEntity> implements ActivityVoucherInformService {

    @Autowired
    protected ActivityVoucherInformMapper activityVoucherInformMapper;

    @Override
    public ResponseResult queryPlatformVoucher() {
        InformShopUpdateParamVO result = activityVoucherInformMapper.selectPlatformVoucher();
        return ResponseResult.success(result);
    }

}
